<header>
	<article>
		<div class="mt-logo">
			<!--顶部导航条 -->
			<div class="am-container header">
				<ul class="message-l">
					<div class="topMessage">
						<div class="menu-hd">
							<a href="/frontend/login/index" target="_top" class="h">{$user_name}</a>
							<a href="/frontend/register/index" target="_top">{$user_register}</a>
						</div>
					</div>
				</ul>
				<ul class="message-r">
					<div class="topMessage home">
						<div class="menu-hd"><a href="/frontend/index/index" target="_top" class="h">商城首页</a></div>
					</div>
					<div class="topMessage my-shangcheng">
						<div class="menu-hd MyShangcheng"><a href="/frontend/person/index" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a></div>
					</div>
					<div class="topMessage mini-cart">
						<div class="menu-hd"><a id="mc-menu-hd" href="/frontend/shopcart/index" target="_top"><i class="am-icon-shopping-cart  am-icon-fw"></i><span>购物车</span><strong id="J_MiniCartNum" class="h" style="color: red"></strong></a></div>
					</div>
					
				</ul>
			</div>
			<script type="text/javascript">			    
			               $.ajax({
			                        type:'get',
			                        url:"/frontend/porder/ajax",
			                        data:{wink:111},
			                        dataType:'json',
			                        success:function(res){			                           
			                           $('#J_MiniCartNum').append(res);
			                        },

			                        error : function(){ console.log(error);}
			                    });
						</script>

				<!--悬浮搜索框-->

				<div class="nav white">
					<div class="logoBig">
						<li><img src="/static/frontend/img/logo.jpg" /></li>
					</div>

					<div class="search-bar pr" >
						<a name="index_none_header_sysc" href="#"></a>
						<form>
							<input id="searchInput" name="index_none_header_sysc" type="text" placeholder="搜索" autocomplete="off">
							<a href="" id="keysearch"><div id="ai-topsearch" class="submit am-btn"  index="1" style="font-size:20px">搜索</div></a>
						</form>
					</div>
				</div>

				<script type="text/javascript">
				    $("#keysearch").click(function(){
				        var key=$('#searchInput').val();
				        $('#keysearch').attr('href',"/frontend/search/search?key="+key);
				    })
				</script>

				<div class="clear"></div>
			
		</div>
	</article>
</header>